package com.tansun.easycare.rule.datamodel.model;

import com.tansun.easycare.rule.common.model.BaseObject;

/**
 * 变量信息
 *
 * @author kuanglishi
 */
public class Attribute extends BaseObject {
    /***变量数据类型****/
    private String type;
    /**
     * 码值对的ID
     **/
    private String domain;
    /***是否输出****/
    private String isout;
    /***如果为集合，值为List****/
    private String collection;
    /***日期格式****/
    private String pattern;
    /**
     * 暂无用
     **/
    private String length;
    /***是否衍生变量****/
    private String isDerives;
    /**
     * 是否集合
     **/
    private String isCollections;
    /**
     * 变量默认值
     **/
    private String defaultValue;
    /**
     * 取值类型 （collection，line，separate，derives） 集合，线性，离散，衍生
     **/
    private String domainType;
    /**
     * 码值显示值
     **/
    private String domainStr;
    /**
     * 衍生变量公式
     **/
    private String mathStr;
    /**
     * 码值对应的ID
     **/
    private String domainId;

    public String getDomainStr() {
        return domainStr;
    }

    public void setDomainStr(String domainStr) {
        this.domainStr = domainStr;
    }

    public String getDomainType() {
        return domainType;
    }

    public void setDomainType(String domainType) {
        this.domainType = domainType;
    }

    public String getDefaultValue() {
        return defaultValue;
    }

    public void setDefaultValue(String defaultValue) {
        this.defaultValue = defaultValue;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }

    public String getCollection() {
        return collection;
    }

    public void setCollection(String collection) {
        this.collection = collection;
    }

    public String getPattern() {
        return pattern;
    }

    public void setPattern(String pattern) {
        this.pattern = pattern;
    }

    public String getLength() {
        return length;
    }

    public void setLength(String length) {
        this.length = length;
    }

    public String getIsout() {
        return isout;
    }

    public String getDomainId() {
        return domainId;
    }

    public void setDomainId(String domainId) {
        this.domainId = domainId;
    }

    public void setIsout(String isout) {
        this.isout = isout;
    }

    public String getIsDerives() {
        return isDerives;
    }

    public void setIsDerives(String isDerives) {
        this.isDerives = isDerives;
    }

    public String getIsCollections() {
        return isCollections;
    }

    public void setIsCollections(String isCollections) {
        this.isCollections = isCollections;
    }

    public String getMathStr() {
        return mathStr;
    }

    public void setMathStr(String mathStr) {
        this.mathStr = mathStr;
    }


}
